<?php
namespace Admin\Model;
use Think\Model;

class PostModel extends Model {
	/**
	 * 自动验证
	 */
	protected $_validate = array(
		array('title','require','{%POST_TITLE_EMPTY}',Model::EXISTS_VALIDATE,'',Model::MODEL_BOTH),
	);
}
?>
